const stuParam = {
  index: 1,
  list: [
    { age: 8, sex: 1, name: '子轩' },
    { age: 9, sex: 2, name: '梓涵' },
    { age: 8, sex: 2, name: '梓瑜' },
    { age: 9, sex: 1, name: '小明' },
  ],
};
const tchParam = {
  index: 1,
  list: [
    { age: 28, sex: 1, name: '张老师' },
    { age: 29, sex: 1, name: '李老师' },
    { age: 32, sex: 2, name: '马老师' },
  ],
};

export default function (init) {
  this.tableList('/table-tabs/student/list', stuParam);
  this.tableOper('/table-tabs/student', stuParam);

  this.tableList('/table-tabs/teacher/list', tchParam);
  this.tableOper('/table-tabs/teacher', tchParam);
}
